package cn.lopr.mvc.frame;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author shuangyang7
 * @date 2021/5/30 11:44
 */
public interface HandlerInterceptorAdapter {

    boolean preHandler(HttpServletRequest request, HttpServletResponse response, Object handler) throws IOException;

    void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler);
}
